package it.truestoryfactory.tsq.game.db;

import android.util.Log;

public class TSQuestion {
	
	public static final String LOGIC = "LOGIC";
	
	private String question;
	private String[] answers;
	private int correctAnswer;
	
	public TSQuestion() {
		answers = new String[4];
	}

	public void setQuestionString(String string) {
		question = new String(string);
	}

	public void setAnswer(int i, String string) {
		answers[i] = string;
	}

	public void setCorrectAnswerIndex(int i) {
		correctAnswer = i;
	}
	
	public void printQuestion(){
		Log.d("QUESTION", question + answers[correctAnswer] );
	}

	public String[] getAnswers() {
		
		return answers;
	}

	public String getQuestion() {
		return question;
	}

	public int getCorrectAnswer() {
		
		return correctAnswer;
	}

}
